<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<style type="text/css">
<!--
.style1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #686868;
}
.style1 a { color: #99CC33; }
.news {
	FONT-WEIGHT: normal;
	FONT-SIZE: 20px; 
	COLOR: #203878; 
	FONT-FAMILY: Arial; 
	text-decoration:none;
}
.news a:link {
	font-family: Arial, Helvetica, sans-serif
	font-size: 10px;
		color: #686868;
	text-decoration: none;
	font-weight: normal;
}
-->
</style>


</head>
<body bgcolor="#d5e4cf">
<table border="0" width="100%" height="100%" >
            <tr>
              <td class="style1"><marquee behavior="scroll" direction="up" onMouseOver="stop()" onMouseOut="start()">
				
<?php

		$con = mysql_connect("localhost","root","");
		  
 		mysql_select_db("test", $con);

  $sql="SELECT * FROM news";
  if (!$sql)
		  {
		  die('Could Not Complete Please Try Again Later: ' );
		  }

  //-run  the query against the mysql query function
 		 $result=mysql_query($sql);
  //-create  while loop and loop through result set
		
		while($row = mysql_fetch_array($result))
		  {
		  echo "" . $row['date'] . "<br>";
		  echo "" . $row['title'] . "<br>";
		  echo "" . $row['discription'] . "<br>";
		  echo "<a href='" . $row['link'] . "' target='_blank'>  more....</a><br>";
		  echo "<img src=\"" . $row['image'] . "\" /><br><br><br><br><br><br>";
		  }

  //-display the result of the array
 // 		$DBresult = mysql_query($result, $con);

?>
</marquee>
				
				
				</td>
              </tr>
              </table>
</body>
</html>